import request from "@/utils/request"

export function getAddress(){
    return request({
        url:"/user/getAddress"
    })
}

export function editAddress(data){
    return request({
        url:"/user/editAddress",
        method:"post",
        data
    })
}

export function getArea(){
    return request({
        url:"/area/index"
    })
}

export function delAddress(data){
    return request({
        url:"/user/delAddress",
        method:"post",
        data
    })
}